Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.antlr.codegen.templates.Ruby.ASTParser.stg Maven / Gradle / Ivy
gatedAction(block) ::= <<
if
end
>>
@ruleBody.setErrorReturnValue() ::= <<
return_value.tree = @adaptor.create_error_node( @input, return_value.start, @input.look(-1), re )<\n>
>>
tokenRef(token,label,elementIndex,terminalOptions) ::= <<
=
@adaptor.add_child( root_0, tree_for_ )
})>
>>
tokenRefBang(token,label,elementIndex,terminalOptions) ::= ""
tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
=
root_0 = @adaptor.become_root( tree_for_, root_0 )
})>
>>
tokenRefBangAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
},...)>
>>
tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
},...)>
>>
tokenRefRuleRootAndListLabel(token,label,terminalOptions,elementIndex) ::= <<
},...)>
>>
matchSet(s,label,terminalOptions,elementIndex,postmatchCode) ::= <<
)})>}, ...)>
>>
matchRuleBlockSet(s,label,terminalOptions,elementIndex,postmatchCode,treeLevel="0") ::= <<
>>
matchSetBang(s,label,elementIndex,postmatchCode) ::= ""
matchSetRuleRoot(s,label,terminalOptions,elementIndex,debug) ::= <<
= @input.look<\n>
, root_0 )})>}, ...)>
>>
matchSetRuleRootAndListLabel(s,label,terminalOptions,elementIndex,debug) ::= <<
},...)>
>>
ruleRef(rule,label,elementIndex,args,scope) ::= <<
.tree )})>
>>
ruleRefBang(rule,label,elementIndex,args,scope) ::= ""
ruleRefRuleRoot(rule,label,elementIndex,args,scope) ::= <<
.tree, root_0 )})>
>>
ruleRefAndListLabel(rule,label,elementIndex,args,scope) ::= <<
.tree},...)>
>>
ruleRefBangAndListLabel(rule,label,elementIndex,args,scope) ::= <<
.tree},...)>
>>
ruleRefRuleRootAndListLabel(rule,label,elementIndex,args,scope) ::= <<
.tree},...)>
>>
wildcard(token,label,elementIndex,terminalOptions) ::= <<
= @adaptor.create_with_payload( )
@adaptor.add_child( root_0, tree_for_ )
})>
>>
wildcardBang(token,label,elementIndex,terminalOptions) ::= ""
wildcardRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
= @adaptor.create_with_payload( )
root_0 = @adaptor.become_root( tree_for_, root_0 )
})>
>>
createNodeFromToken(label,terminalOptions) ::= <<
.new( )
@adaptor.create_with_payload( )
>>
ruleCleanUp() ::= <<
>>