Enum Token.TokenType

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      AFTER
      The word after, reserved for temporal ordering between events; no production consumes it yet.
      ALL
      The word all, either an unrestricted scope or filler ahead of a target word, as in show all strings.
      ALLOC_COUNT
      The attribute word alloccount or alloc_count, naming a count of allocations.
      AND
      The word and, conjoining condition terms.
      ARG_ANY
      The argument word any, matching an argument of any kind.
      ARG_CALL
      The argument word callarg, matching an argument that came from another call's result.
      ARG_DYNAMIC
      The argument word dynamic or dynamicarg, matching an argument only known at run time.
      ARG_FIELD
      The argument word fieldarg, matching an argument that came from a field read.
      ARG_LITERAL
      The argument word literal, matching an argument that is a compile-time constant.
      ARG_LOCAL
      The argument word localarg, matching an argument that came from a local variable.
      ASC
      The word asc, an ascending sort direction; also the direction assumed when neither is written.
      BECOMES
      The word becomes, reserved for a value-transition predicate; no production consumes it yet.
      BEFORE
      The word before, reserved for temporal ordering between events; no production consumes it yet.
      BY
      The word by, completing order by ahead of the sort key.
      CALLS
      The attribute word calls, naming the invocations made by an entity.
      CLASS
      The word class, introducing a class-name pattern for a scope.
      CLASSES
      The target word classes, making classes the result rows.
      CLINIT
      The word clinit or the literal <clinit>, scoping a query to static initializer execution.
      COLON
      The character :, separating a run spec key from its value.
      COMMA
      The character ,, separating set members, sequence elements and repetition bounds.
      CONTAINS_STRING
      The attribute word containsstring or contains_string, naming a string constant an entity carries.
      COVERAGE
      The attribute word coverage, naming how much of an entity was reached.
      DESC
      The word desc, a descending sort direction.
      DOT
      The character ., separating accessor steps; a doubled pair forms the sequence gap.
      DURING
      The word during, introducing an execution-time scope rather than a static one.
      EOF
      The end-of-input marker appended after the last real token.
      EQ
      The operator ==; a single = is not accepted.
      EVENTS
      The target word events, making recorded runtime events the result rows.
      FIELD
      The attribute word field, naming a field reference.
      FIND
      The word find, opening a query that returns matching entities with their evidence.
      GT
      The operator >.
      GTE
      The operator >=.
      IDENTIFIER
      A name-like word that matched no keyword, left for the attribute registry to resolve.
      IN
      The word in, introducing a static scope, and doubling as the set membership operator inside a condition.
      INSTRUCTION_COUNT
      The attribute word instructioncount or instruction_count, naming a count of instructions.
      LBRACE
      The character {, opening a repetition count on a sequence element.
      LBRACKET
      The character [, opening a set literal or a sequence.
      LIMIT
      The word limit, capping the number of results; followed by a number.
      LPAREN
      The character (, opening a group, a quantifier body, or an accessor index.
      LT
      The operator <, distinguished from the start of <clinit> by lookahead.
      LTE
      The operator <=.
      METHOD
      The word method, introducing a method-name pattern for a static or execution-time scope.
      METHODS
      The target word methods, making methods the result rows.
      NEQ
      The operator !=; a bare ! is a parse error.
      NON_NULL
      The hyphenated word non-null, a nullness state; the hyphen keeps it out of the identifier space.
      NOT
      The word not, negating the condition that follows it.
      NULL
      The word null, the null literal or the null state.
      NUMBER
      A numeric literal, possibly signed or fractional; underscore separators are stripped from the value.
      OBJECTS
      The target word objects, making allocated objects the result rows.
      OF
      The word of, tying a <clinit> scope to the classes it should be taken over.
      OR
      The word or, disjoining condition terms.
      ORDER
      The word order, the first half of order by.
      PATHS
      The target word paths, making execution paths the result rows.
      PLUS
      The character +, repeating a sequence element one or more times.
      RBRACE
      The character }, closing a repetition count.
      RBRACKET
      The character ], closing what an LBRACKET opened.
      READS_FIELD
      The attribute word readsfield or reads_field, naming the fields an entity loads from.
      REGEX
      A slash-delimited pattern; trailing flag letters are folded into the value as an inline (?flags) prefix.
      RPAREN
      The character ), closing what an LPAREN opened.
      SHOW
      The word show, opening a query that lists matching entities without evidence.
      STAR
      The character *, repeating a sequence element zero or more times.
      STRING
      A quoted literal; the value carries the text with escapes already resolved and quotes stripped.
      STRINGS
      The target word strings, making string values the result rows.
      THROWS
      The attribute word throws, naming the exceptions an entity can raise.
      WHERE
      The word where, introducing the condition expression, and also the body of a quantifier or count.
      WITH
      The word with, introducing the run spec key/value settings that configure execution.
      WRITES_FIELD
      The attribute word writesfield or writes_field, naming the fields an entity stores to.
    • Enum Constant Detail

      • FIND

        public static final Token.TokenType FIND
        The word find, opening a query that returns matching entities with their evidence.
      • SHOW

        public static final Token.TokenType SHOW
        The word show, opening a query that lists matching entities without evidence.
      • WHERE

        public static final Token.TokenType WHERE
        The word where, introducing the condition expression, and also the body of a quantifier or count.
      • IN

        public static final Token.TokenType IN
        The word in, introducing a static scope, and doubling as the set membership operator inside a condition.
      • DURING

        public static final Token.TokenType DURING
        The word during, introducing an execution-time scope rather than a static one.
      • AND

        public static final Token.TokenType AND
        The word and, conjoining condition terms.
      • OR

        public static final Token.TokenType OR
        The word or, disjoining condition terms.
      • NOT

        public static final Token.TokenType NOT
        The word not, negating the condition that follows it.
      • BEFORE

        public static final Token.TokenType BEFORE
        The word before, reserved for temporal ordering between events; no production consumes it yet.
      • AFTER

        public static final Token.TokenType AFTER
        The word after, reserved for temporal ordering between events; no production consumes it yet.
      • WITH

        public static final Token.TokenType WITH
        The word with, introducing the run spec key/value settings that configure execution.
      • LIMIT

        public static final Token.TokenType LIMIT
        The word limit, capping the number of results; followed by a number.
      • ORDER

        public static final Token.TokenType ORDER
        The word order, the first half of order by.
      • BY

        public static final Token.TokenType BY
        The word by, completing order by ahead of the sort key.
      • ASC

        public static final Token.TokenType ASC
        The word asc, an ascending sort direction; also the direction assumed when neither is written.
      • DESC

        public static final Token.TokenType DESC
        The word desc, a descending sort direction.
      • OF

        public static final Token.TokenType OF
        The word of, tying a <clinit> scope to the classes it should be taken over.
      • ALL

        public static final Token.TokenType ALL
        The word all, either an unrestricted scope or filler ahead of a target word, as in show all strings.
      • CLASS

        public static final Token.TokenType CLASS
        The word class, introducing a class-name pattern for a scope.
      • METHOD

        public static final Token.TokenType METHOD
        The word method, introducing a method-name pattern for a static or execution-time scope.
      • CLINIT

        public static final Token.TokenType CLINIT
        The word clinit or the literal <clinit>, scoping a query to static initializer execution.
      • BECOMES

        public static final Token.TokenType BECOMES
        The word becomes, reserved for a value-transition predicate; no production consumes it yet.
      • NON_NULL

        public static final Token.TokenType NON_NULL
        The hyphenated word non-null, a nullness state; the hyphen keeps it out of the identifier space.
      • NULL

        public static final Token.TokenType NULL
        The word null, the null literal or the null state.
      • METHODS

        public static final Token.TokenType METHODS
        The target word methods, making methods the result rows.
      • CLASSES

        public static final Token.TokenType CLASSES
        The target word classes, making classes the result rows.
      • PATHS

        public static final Token.TokenType PATHS
        The target word paths, making execution paths the result rows.
      • EVENTS

        public static final Token.TokenType EVENTS
        The target word events, making recorded runtime events the result rows.
      • STRINGS

        public static final Token.TokenType STRINGS
        The target word strings, making string values the result rows.
      • OBJECTS

        public static final Token.TokenType OBJECTS
        The target word objects, making allocated objects the result rows.
      • CALLS

        public static final Token.TokenType CALLS
        The attribute word calls, naming the invocations made by an entity.
      • ALLOC_COUNT

        public static final Token.TokenType ALLOC_COUNT
        The attribute word alloccount or alloc_count, naming a count of allocations.
      • WRITES_FIELD

        public static final Token.TokenType WRITES_FIELD
        The attribute word writesfield or writes_field, naming the fields an entity stores to.
      • READS_FIELD

        public static final Token.TokenType READS_FIELD
        The attribute word readsfield or reads_field, naming the fields an entity loads from.
      • FIELD

        public static final Token.TokenType FIELD
        The attribute word field, naming a field reference.
      • CONTAINS_STRING

        public static final Token.TokenType CONTAINS_STRING
        The attribute word containsstring or contains_string, naming a string constant an entity carries.
      • THROWS

        public static final Token.TokenType THROWS
        The attribute word throws, naming the exceptions an entity can raise.
      • INSTRUCTION_COUNT

        public static final Token.TokenType INSTRUCTION_COUNT
        The attribute word instructioncount or instruction_count, naming a count of instructions.
      • COVERAGE

        public static final Token.TokenType COVERAGE
        The attribute word coverage, naming how much of an entity was reached.
      • ARG_ANY

        public static final Token.TokenType ARG_ANY
        The argument word any, matching an argument of any kind.
      • ARG_LITERAL

        public static final Token.TokenType ARG_LITERAL
        The argument word literal, matching an argument that is a compile-time constant.
      • ARG_DYNAMIC

        public static final Token.TokenType ARG_DYNAMIC
        The argument word dynamic or dynamicarg, matching an argument only known at run time.
      • ARG_FIELD

        public static final Token.TokenType ARG_FIELD
        The argument word fieldarg, matching an argument that came from a field read.
      • ARG_LOCAL

        public static final Token.TokenType ARG_LOCAL
        The argument word localarg, matching an argument that came from a local variable.
      • ARG_CALL

        public static final Token.TokenType ARG_CALL
        The argument word callarg, matching an argument that came from another call's result.
      • IDENTIFIER

        public static final Token.TokenType IDENTIFIER
        A name-like word that matched no keyword, left for the attribute registry to resolve.
      • STRING

        public static final Token.TokenType STRING
        A quoted literal; the value carries the text with escapes already resolved and quotes stripped.
      • REGEX

        public static final Token.TokenType REGEX
        A slash-delimited pattern; trailing flag letters are folded into the value as an inline (?flags) prefix.
      • NUMBER

        public static final Token.TokenType NUMBER
        A numeric literal, possibly signed or fractional; underscore separators are stripped from the value.
      • LPAREN

        public static final Token.TokenType LPAREN
        The character (, opening a group, a quantifier body, or an accessor index.
      • RPAREN

        public static final Token.TokenType RPAREN
        The character ), closing what an LPAREN opened.
      • LBRACKET

        public static final Token.TokenType LBRACKET
        The character [, opening a set literal or a sequence.
      • RBRACKET

        public static final Token.TokenType RBRACKET
        The character ], closing what an LBRACKET opened.
      • LBRACE

        public static final Token.TokenType LBRACE
        The character {, opening a repetition count on a sequence element.
      • RBRACE

        public static final Token.TokenType RBRACE
        The character }, closing a repetition count.
      • STAR

        public static final Token.TokenType STAR
        The character *, repeating a sequence element zero or more times.
      • PLUS

        public static final Token.TokenType PLUS
        The character +, repeating a sequence element one or more times.
      • COMMA

        public static final Token.TokenType COMMA
        The character ,, separating set members, sequence elements and repetition bounds.
      • DOT

        public static final Token.TokenType DOT
        The character ., separating accessor steps; a doubled pair forms the sequence gap.
      • COLON

        public static final Token.TokenType COLON
        The character :, separating a run spec key from its value.
      • LT

        public static final Token.TokenType LT
        The operator <, distinguished from the start of <clinit> by lookahead.
      • EQ

        public static final Token.TokenType EQ
        The operator ==; a single = is not accepted.
      • NEQ

        public static final Token.TokenType NEQ
        The operator !=; a bare ! is a parse error.
      • EOF

        public static final Token.TokenType EOF
        The end-of-input marker appended after the last real token.
    • Method Detail

      • values

        public static Token.TokenType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Token.TokenType c : Token.TokenType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Token.TokenType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null