UI\WebControls\Dynamic.cs (66)
682int exprPos = token.pos;
705if (token.id != TokenId.Comma) break;
715int errorPos = token.pos;
717if (token.id == TokenId.Question) {
731while (token.id == TokenId.DoubleBar || TokenIdentifierIs("or")) {
732Token op = token;
744while (token.id == TokenId.DoubleAmphersand || TokenIdentifierIs("and")) {
745Token op = token;
757while (token.id == TokenId.Equal || token.id == TokenId.DoubleEqual ||
758token.id == TokenId.ExclamationEqual || token.id == TokenId.LessGreater ||
759token.id == TokenId.GreaterThan || token.id == TokenId.GreaterThanEqual ||
760token.id == TokenId.LessThan || token.id == TokenId.LessThanEqual) {
761Token op = token;
826while (token.id == TokenId.Plus || token.id == TokenId.Minus ||
827token.id == TokenId.Amphersand) {
828Token op = token;
853while (token.id == TokenId.Asterisk || token.id == TokenId.Slash ||
854token.id == TokenId.Percent || TokenIdentifierIs("mod")) {
855Token op = token;
877if (token.id == TokenId.Minus || token.id == TokenId.Exclamation ||
879Token op = token;
881if (op.id == TokenId.Minus && (token.id == TokenId.IntegerLiteral ||
882token.id == TokenId.RealLiteral)) {
883token.text = "-" + token.text;
884token.pos = op.pos;
904if (token.id == TokenId.Dot) {
908else if (token.id == TokenId.OpenBracket) {
919switch (token.id) {
937char quote = token.text[0];
938string s = token.text.Substring(1, token.text.Length - 2);
958string text = token.text;
982string text = token.text;
1017if (keywords.TryGetValue(token.text, out value)) {
1025if (symbols.TryGetValue(token.text, out value) ||
1026externals != null && externals.TryGetValue(token.text, out value)) {
1039throw ParseError(AtlasWeb.ExpressionParser_UnknownIdentifier, token.text);
1050int errorPos = token.pos;
1088int exprPos = token.pos;
1103if (token.id != TokenId.Comma) break;
1116int errorPos = token.pos;
1126int errorPos = token.pos;
1128if (token.id == TokenId.Question) {
1134if (token.id == TokenId.OpenParen) {
1173int errorPos = token.pos;
1176if (token.id == TokenId.OpenParen) {
1256Expression[] args = token.id != TokenId.CloseParen ? ParseArguments() : new Expression[0];
1266if (token.id != TokenId.Comma) break;
1273int errorPos = token.pos;
1990token.id = t;
1991token.text = text.Substring(tokenPos, textPos - tokenPos);
1992token.pos = tokenPos;
2025return token.id == TokenId.Identifier && String.Equals(id, token.text, StringComparison.OrdinalIgnoreCase);
2030string id = token.text;
2040if (token.id != t) throw ParseError(errorMessage);
2044if (token.id != t) throw ParseError(AtlasWeb.ExpressionParser_SyntaxError);
2048return ParseError(token.pos, format, args);