Commit fd06002d authored by Milhomme Allan's avatar Milhomme Allan
Browse files

GNEAY

parent a33500db
......@@ -15,21 +15,21 @@ public class NumberChar extends Token
new TokenSearch(ParserString.trans0),
new OrSearch(
new BracketSearch(
new TokenSearch("base", ParserString.trans1),
new TokenSearch("base", false, ParserString.trans1),
new ArraySearch(
new TokenSearch("value", ParserString.trans2)
new TokenSearch("value", false, ParserString.trans2)
)
),
new BracketSearch(
new TokenSearch("base", ParserString.trans3),
new TokenSearch("base", false, ParserString.trans3),
new ArraySearch(
new TokenSearch("value", ParserString.trans4)
new TokenSearch("value", false, ParserString.trans4)
)
),
new BracketSearch(
new TokenSearch("base", ParserString.trans5),
new TokenSearch("base", false, ParserString.trans5),
new ArraySearch(
new TokenSearch("value", ParserString.digit)
new TokenSearch("value", false, ParserString.digit)
)
)
)
......
......@@ -19,7 +19,7 @@ public class OptionalSearchToken extends Token implements MultipleSearchToken
public static final Search builderSearches[] = {
new TokenSearch(ParserString.optionOpen),
new ArraySearch(
new TokenSearch("searches", SearchToken.builder)
new TokenSearch("searches", false, SearchToken.builder)
),
new TokenSearch(ParserString.optionClose)
};
......
......@@ -12,7 +12,7 @@ public class OrSearchToken extends Token implements MultipleSearchToken
public SearchToken searches[];
public static final Search builderSearches[] = {
new ArraySearch(false, true, 2, Integer.MAX_VALUE,
new TokenSearch("searches", SearchToken.builder, false),
new TokenSearch("searches", false, SearchToken.builder, false),
new TokenSearch(ParserString.orToken)
)
};
......
......@@ -13,11 +13,13 @@ public class SearchName extends Token
public ParserString notGenerated;
public static final Search builderSearches[] = {
new OptionalSearch(
new TokenSearch("notGenerated", ParserString.nonGeneratedName)
new TokenSearch("notGenerated", false, ParserString.nonGeneratedName)
),
new TokenSearch("id", Identifier.builder),
new TokenSearch("id", false, Identifier.builder),
new TokenSearch(ParserString.trans16)
};
/********** Do not modify or remove **********/
public boolean list = false;
}
......@@ -15,9 +15,9 @@ public class SearchToken extends Token
new OrSearch(
new BracketSearch(
new OptionalSearch(
new TokenSearch("searchName", SearchName.builder)
new TokenSearch("searchName", false, SearchName.builder)
),
new BracketSearch("searchToken",
new BracketSearch("searchToken", false,
new OrSearch(
new TokenSearch(TokenSearchToken.builder),
new TokenSearch(ArraySearchToken.builder),
......@@ -26,7 +26,7 @@ public class SearchToken extends Token
)
)
),
new TokenSearch("searchToken", OrSearchToken.builder)
new TokenSearch("searchToken", false, OrSearchToken.builder)
)
};
......
......@@ -22,7 +22,7 @@ public class SingleChar extends Token
new OrSearch(
new BracketSearch(
new TokenSearch(ParserString.backslash),
new BracketSearch("backslash",
new BracketSearch("backslash", false,
new OrSearch(
new TokenSearch(ParserString.trans6),
new TokenSearch(ParserString.trans7),
......
......@@ -24,7 +24,7 @@ public class StringToken extends Token
new BracketSearch(
new TokenSearch(ParserString.quote),
new ArraySearch(
new BracketSearch("charTokens",
new BracketSearch("charTokens", false,
new OrSearch(
new TokenSearch(CharacterToken.builder),
new TokenSearch(SingleChar.builder)
......@@ -33,7 +33,7 @@ public class StringToken extends Token
),
new TokenSearch(ParserString.quote)
),
new TokenSearch("singleChar", CharacterToken.builder)
new TokenSearch("singleChar", false, CharacterToken.builder)
)
};
......
......@@ -17,14 +17,14 @@ public class TokenSearchToken extends Token
new OrSearch(
new BracketSearch(
new OptionalSearch(
new TokenSearch("trans", ParserString.transientToken),
new TokenSearch("trans", false, ParserString.transientToken),
new OptionalSearch(
new TokenSearch("included", ParserString.nonGeneratedName)
new TokenSearch("included", false, ParserString.nonGeneratedName)
)
),
new TokenSearch("id", Identifier.builder)
new TokenSearch("id", false, Identifier.builder)
),
new TokenSearch("string", StringToken.builder)
new TokenSearch("string", false, StringToken.builder)
)
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment