Documentation ¶
Overview ¶
Package symbols is generated by gogll. Do not edit.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NT ¶
type NT int
NT is the type of non-terminals symbols
const ( NT_AbbreviatedAbsoluteLocationPath NT = iota NT_AbbreviatedAxisSpecifier NT_AbbreviatedRelativeLocationPath NT_AbbreviatedStep NT_AbbreviatedStepParent NT_AbbreviatedStepSelf NT_AbsoluteLocationPath NT_AbsoluteLocationPathOnly NT_AbsoluteLocationPathWithRelative NT_AdditiveExpr NT_AdditiveExprAdd NT_AdditiveExprSubtract NT_AndExpr NT_AndExprAnd NT_AxisName NT_AxisSpecifier NT_AxisSpecifierWithAxisName NT_EqualityExpr NT_EqualityExprEqual NT_EqualityExprNotEqual NT_FilterExpr NT_FilterExprWithPredicate NT_FunctionCall NT_FunctionCallArgumentList NT_FunctionCallArgumentListArgWithNext NT_FunctionCallArgumentListEndArg NT_FunctionSignature NT_FunctionSignatureNoArgs NT_Literal NT_LocationPath NT_MultiplicativeExpr NT_MultiplicativeExprDivide NT_MultiplicativeExprMod NT_MultiplicativeExprMultiply NT_NameTestAnyElement NT_NameTestLocalAnyNamespace NT_NameTestLocalAnyNamespaceReservedNameConflict NT_NameTestNamespaceAnyLocal NT_NameTestNamespaceAnyLocalReservedNameConflict NT_NameTestQNameLocalOnly NT_NameTestQNameLocalOnlyReservedNameConflict NT_NameTestQNameNamespaceWithLocal NT_NameTestQNameNamespaceWithLocalReservedNameConflictBoth NT_NameTestQNameNamespaceWithLocalReservedNameConflictLocal NT_NameTestQNameNamespaceWithLocalReservedNameConflictNamespace NT_NodeTest NT_NodeTestAndPredicate NT_NodeTestNodeTypeNoArgTest NT_NodeTestProcInstTargetTest NT_NodeType NT_Number NT_OrExpr NT_OrExprOr NT_PathExpr NT_PathExprFilterWithAbbreviatedPath NT_PathExprFilterWithPath NT_Predicate NT_PrimaryExpr NT_PrimaryExprParenthetic NT_QName NT_QNameLocalOnly NT_QNameNamespaceWithLocal NT_RelationalExpr NT_RelationalExprGreaterThan NT_RelationalExprGreaterThanOrEqual NT_RelationalExprLessThan NT_RelationalExprLessThanOrEqual NT_RelativeLocationPath NT_RelativeLocationPathWithStep NT_ReservedNameConflictResolver NT_Step NT_StepWithAxisAndNodeTest NT_StepWithAxisAndNodeTestAndPredicate NT_StepWithPredicate NT_StepWithPredicateWithAnotherPredicate NT_UnaryExpr NT_UnaryExprNegate NT_UnionExpr NT_UnionExprUnion NT_VariableReference )
func ToNT ¶ added in v0.9.7
ToNT returns the NT value of sym or panics if sym is not a non-terminal of the grammar
func (NT) IsNonTerminal ¶
type T ¶
type T int
T is the type of terminals symbols
const ( T_0 T = iota // != T_1 // ( T_2 // ) T_3 // * T_4 // + T_5 // , T_6 // - T_7 // . T_8 // .. T_9 // / T_10 // // T_11 // : T_12 // :: T_13 // < T_14 // <= T_15 // = T_16 // > T_17 // >= T_18 // @ T_19 // [ T_20 // ] T_21 // ancestor T_22 // ancestor-or-self T_23 // and T_24 // attribute T_25 // child T_26 // comment T_27 // descendant T_28 // descendant-or-self T_29 // digits T_30 // div T_31 // doublequote T_32 // following T_33 // following-sibling T_34 // mod T_35 // namespace T_36 // ncname T_37 // node T_38 // or T_39 // parent T_40 // preceding T_41 // preceding-sibling T_42 // processing-instruction T_43 // self T_44 // singlequote T_45 // text T_46 // variableReference T_47 // | )
func (T) IsNonTerminal ¶
Click to show internal directories.
Click to hide internal directories.