| Package | Description |
|---|---|
| org.protelis.parser.protelis | |
| org.protelis.parser.protelis.impl | |
| org.protelis.parser.protelis.util | |
| org.protelis.parser.serializer |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BooleanVal
A representation of the model object 'Boolean Val'.
|
interface |
DoubleVal
A representation of the model object 'Double Val'.
|
interface |
Prefix
A representation of the model object 'Prefix'.
|
interface |
Scalar
A representation of the model object 'Scalar'.
|
interface |
StringVal
A representation of the model object 'String Val'.
|
interface |
TupleVal
A representation of the model object 'Tuple Val'.
|
interface |
VAR
A representation of the model object 'VAR'.
|
| Modifier and Type | Method and Description |
|---|---|
Expression |
ProtelisFactory.createExpression()
Returns a new object of class 'Expression'.
|
Expression |
Expression.getArg()
Returns the value of the 'Arg' containment reference.
|
Expression |
Expression.getCond()
Returns the value of the 'Cond' containment reference.
|
Expression |
Expression.getDefault()
Returns the value of the 'Default' containment reference.
|
Expression |
Expression.getLeft()
Returns the value of the 'Left' containment reference.
|
Expression |
Expression.getOp()
Returns the value of the 'Op' containment reference.
|
Expression |
Statement.getRight()
Returns the value of the 'Right' containment reference.
|
Expression |
Expression.getV()
Returns the value of the 'V' containment reference.
|
Expression |
RepInitialize.getW()
Returns the value of the 'W' containment reference.
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.common.util.EList<Expression> |
ExprList.getArgs()
Returns the value of the 'Args' containment reference list.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Expression.setArg(Expression value)
Sets the value of the '
Arg' containment reference. |
void |
Expression.setCond(Expression value)
Sets the value of the '
Cond' containment reference. |
void |
Expression.setDefault(Expression value)
Sets the value of the '
Default' containment reference. |
void |
Expression.setLeft(Expression value)
Sets the value of the '
Left' containment reference. |
void |
Expression.setOp(Expression value)
Sets the value of the '
Op' containment reference. |
void |
Statement.setRight(Expression value)
Sets the value of the '
Right' containment reference. |
void |
Expression.setV(Expression value)
Sets the value of the '
V' containment reference. |
void |
RepInitialize.setW(Expression value)
Sets the value of the '
W' containment reference. |
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanValImpl
An implementation of the model object 'Boolean Val'.
|
class |
DoubleValImpl
An implementation of the model object 'Double Val'.
|
class |
ExpressionImpl
An implementation of the model object 'Expression'.
|
class |
PrefixImpl
An implementation of the model object 'Prefix'.
|
class |
ScalarImpl
An implementation of the model object 'Scalar'.
|
class |
StringValImpl
An implementation of the model object 'String Val'.
|
class |
TupleValImpl
An implementation of the model object 'Tuple Val'.
|
class |
VARImpl
An implementation of the model object 'VAR'.
|
| Modifier and Type | Field and Description |
|---|---|
protected Expression |
ExpressionImpl.arg
The cached value of the '
Arg' containment reference. |
protected Expression |
ExpressionImpl.cond
The cached value of the '
Cond' containment reference. |
protected Expression |
ExpressionImpl.default_
The cached value of the '
Default' containment reference. |
protected Expression |
ExpressionImpl.left
The cached value of the '
Left' containment reference. |
protected Expression |
ExpressionImpl.op
The cached value of the '
Op' containment reference. |
protected Expression |
StatementImpl.right
The cached value of the '
Right' containment reference. |
protected Expression |
ExpressionImpl.v
The cached value of the '
V' containment reference. |
protected Expression |
RepInitializeImpl.w
The cached value of the '
W' containment reference. |
| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.emf.common.util.EList<Expression> |
ExprListImpl.args
The cached value of the '
Args' containment reference list. |
| Modifier and Type | Method and Description |
|---|---|
Expression |
ProtelisFactoryImpl.createExpression() |
Expression |
ExpressionImpl.getArg() |
Expression |
ExpressionImpl.getCond() |
Expression |
ExpressionImpl.getDefault() |
Expression |
ExpressionImpl.getLeft() |
Expression |
ExpressionImpl.getOp() |
Expression |
StatementImpl.getRight() |
Expression |
ExpressionImpl.getV() |
Expression |
RepInitializeImpl.getW() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.common.util.EList<Expression> |
ExprListImpl.getArgs() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.common.notify.NotificationChain |
ExpressionImpl.basicSetArg(Expression newArg,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
ExpressionImpl.basicSetCond(Expression newCond,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
ExpressionImpl.basicSetDefault(Expression newDefault,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
ExpressionImpl.basicSetLeft(Expression newLeft,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
ExpressionImpl.basicSetOp(Expression newOp,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
StatementImpl.basicSetRight(Expression newRight,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
ExpressionImpl.basicSetV(Expression newV,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
RepInitializeImpl.basicSetW(Expression newW,
org.eclipse.emf.common.notify.NotificationChain msgs) |
void |
ExpressionImpl.setArg(Expression newArg) |
void |
ExpressionImpl.setCond(Expression newCond) |
void |
ExpressionImpl.setDefault(Expression newDefault) |
void |
ExpressionImpl.setLeft(Expression newLeft) |
void |
ExpressionImpl.setOp(Expression newOp) |
void |
StatementImpl.setRight(Expression newRight) |
void |
ExpressionImpl.setV(Expression newV) |
void |
RepInitializeImpl.setW(Expression newW) |
| Modifier and Type | Method and Description |
|---|---|
T |
ProtelisSwitch.caseExpression(Expression object)
Returns the result of interpreting the object as an instance of 'Expression'.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ProtelisSemanticSequencer.sequence_Addition_Equality_LogicalAnd_LogicalOr_Multiplication_Postfix_Power_Primary_Relational(org.eclipse.emf.ecore.EObject context,
Expression semanticObject)
Constraint:
(
v=VarVal |
v=Call |
v=Rep |
v=NBR |
v=If |
(left=Postfix_Expression_1_0 (name='.' methodName=AID args=ExprList?)) |
(left=Power_Expression_1_0 name='^' right=Prefix) |
(left=Multiplication_Expression_1_0 (name='*' | name='/' | name='%') right=Power) |
(left=Addition_Expression_1_0 (name='+' | name='-') right=Multiplication) |
(left=Relational_Expression_1_0 (name='>' | name='>=' | name='<' | name='<=') right=Addition) |
(left=Equality_Expression_1_0 (name='==' | name='!=') right=Relational) |
(left=LogicalAnd_Expression_1_0 name='&&' right=Equality) |
(left=LogicalOr_Expression_1_0 name='||' right=LogicalAnd)
)
|
protected void |
ProtelisSemanticSequencer.sequence_Addition_Equality_LogicalAnd_LogicalOr_Multiplication_Postfix_Power_Relational(org.eclipse.emf.ecore.EObject context,
Expression semanticObject)
Constraint:
(
(left=Postfix_Expression_1_0 (name='.' methodName=AID args=ExprList?)) |
(left=LogicalOr_Expression_1_0 name='||' right=LogicalAnd) |
(left=Power_Expression_1_0 name='^' right=Prefix) |
(left=Multiplication_Expression_1_0 (name='*' | name='/' | name='%') right=Power) |
(left=Addition_Expression_1_0 (name='+' | name='-') right=Multiplication) |
(left=Relational_Expression_1_0 (name='>' | name='>=' | name='<' | name='<=') right=Addition) |
(left=Equality_Expression_1_0 (name='==' | name='!=') right=Relational) |
(left=LogicalAnd_Expression_1_0 name='&&' right=Equality)
)
|
protected void |
ProtelisSemanticSequencer.sequence_BuiltinHoodOp_GenericHood_HoodOp(org.eclipse.emf.ecore.EObject context,
Expression semanticObject)
Constraint:
(
(
(
name='minHood' |
name='maxHood' |
name='anyHood' |
name='allHood' |
name='sumHood' |
name='meanHood' |
name='unionHood'
)
inclusive?='PlusSelf'?
arg=Expression
) |
((name='hood' | name='hoodPlusSelf') (reference=[EObject|CallRule] | op=Lambda) default=Expression arg=Expression)
)
|
protected void |
ProtelisSemanticSequencer.sequence_BuiltinHoodOp_GenericHood_Lambda_Local(org.eclipse.emf.ecore.EObject context,
Expression semanticObject)
Constraint:
(
(
(
name='minHood' |
name='maxHood' |
name='anyHood' |
name='allHood' |
name='sumHood' |
name='meanHood' |
name='unionHood'
)
inclusive?='PlusSelf'?
arg=Expression
) |
((name='hood' | name='hoodPlusSelf') (reference=[EObject|CallRule] | op=Lambda) default=Expression arg=Expression) |
(lambdaArgs=VarList? name='->' body=Block)
)
|
protected void |
ProtelisSemanticSequencer.sequence_BuiltinHoodOp(org.eclipse.emf.ecore.EObject context,
Expression semanticObject)
Constraint:
(
(
name='minHood' |
name='maxHood' |
name='anyHood' |
name='allHood' |
name='sumHood' |
name='meanHood' |
name='unionHood'
)
inclusive?='PlusSelf'?
arg=Expression
)
|
protected void |
ProtelisSemanticSequencer.sequence_Call(org.eclipse.emf.ecore.EObject context,
Expression semanticObject)
Constraint:
(reference=[EObject|CallRule] args=ExprList?)
|
protected void |
ProtelisSemanticSequencer.sequence_GenericHood(org.eclipse.emf.ecore.EObject context,
Expression semanticObject)
Constraint:
((name='hood' | name='hoodPlusSelf') (reference=[EObject|CallRule] | op=Lambda) default=Expression arg=Expression)
|
protected void |
ProtelisSemanticSequencer.sequence_If(org.eclipse.emf.ecore.EObject context,
Expression semanticObject)
Constraint:
(name='if' cond=Expression then=Block else=Block)
|
protected void |
ProtelisSemanticSequencer.sequence_Lambda(org.eclipse.emf.ecore.EObject context,
Expression semanticObject)
Constraint:
(lambdaArgs=VarList? name='->' body=Block)
|
protected void |
ProtelisSemanticSequencer.sequence_NBR(org.eclipse.emf.ecore.EObject context,
Expression semanticObject)
Constraint:
(name='nbr' arg=Expression)
|
protected void |
ProtelisSemanticSequencer.sequence_Rep(org.eclipse.emf.ecore.EObject context,
Expression semanticObject)
Constraint:
(name='rep' init=RepList body=Block)
|
Copyright © 2015. All rights reserved.