public abstract class ClassifierExpression extends ASTNode implements CodeGenerator
Modifier and Type | Field and Description |
---|---|
Argument |
argument
Specification of the classifier's input.
|
Name |
cacheIn
(ø) The expression representing the field to cache this classifier's result in.
|
String |
comment
(ø) The text of a Javadoc comment that may be associated with this classifier.
|
Name |
name
Expression describing what is being declared.
|
boolean |
parenthesized
Indicates whether this expression was parenthesized in the source.
|
ClassifierReturnType |
returnType
The return type of the declared classifier.
|
boolean |
singleExampleCache
Whether the classifier will have a single example feature vector cache.
|
byteOffset, line, nodeID, symbolTable
Modifier and Type | Method and Description |
---|---|
int |
getLine()
Returns the line number on which this AST node is found in the source (starting from line 0).
|
String |
getName()
Returns the name of the
ClassifierExpression . |
void |
setCacheIn(Name c)
Sets the
cacheIn member variable to the argument. |
abstract StringBuffer |
shallow()
Creates a
StringBuffer containing a shallow representation of this
ClassifierExpression . |
public String comment
public Name name
public ClassifierReturnType returnType
public Argument argument
public boolean parenthesized
public Name cacheIn
public boolean singleExampleCache
public String getName()
ClassifierExpression
.getName
in interface CodeGenerator
public int getLine()
CodeGenerator
.getLine
in interface CodeGenerator
CodeGenerator
public void setCacheIn(Name c)
cacheIn
member variable to the argument.c
- The new expression for the cacheIn
member variable.public abstract StringBuffer shallow()
StringBuffer
containing a shallow representation of this
ClassifierExpression
.shallow
in interface CodeGenerator
StringBuffer
containing a shallow text representation of the given
node.Copyright © 2016. All rights reserved.