Package team.unnamed.mocha.parser.ast
Class IdentifierExpression
java.lang.Object
team.unnamed.mocha.parser.ast.IdentifierExpression
- All Implemented Interfaces:
Expression
Identifier expression implementation for Molang.
Note that, identifiers in Molang are always case-insensitive
Example identifier expressions: math,
name, this, print
- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IdentifierExpression
-
-
Method Details
-
name
Gets the identifier name.- Returns:
- The identifier name.
- Since:
- 3.0.0
-
visit
Description copied from interface:ExpressionVisits this expression with the given visitor.- Specified by:
visitin interfaceExpression- Type Parameters:
R- The visit result return type- Parameters:
visitor- The expression visitor- Returns:
- The visit result
-
toString
-
equals
-
hashCode
public int hashCode()
-