Searched refs:tokens (Results 76 - 100 of 101) sorted by relevance

12345

/gem5/ext/ply/test/
H A Dyacc_sr.py11 from calclex import tokens
H A Dyacc_term1.py11 from calclex import tokens
H A Dyacc_unused.py11 from calclex import tokens
H A Dyacc_unused_rule.py11 from calclex import tokens
H A Dyacc_uprec.py11 from calclex import tokens
H A Dyacc_uprec2.py11 from calclex import tokens
/gem5/ext/googletest/googletest/scripts/
H A Dpump.py383 """A generator that yields the tokens in the given string."""
475 def ParseElseNode(tokens):
477 return PopToken(tokens, token_type)
479 next = PeekToken(tokens)
485 code_node = ParseCodeNode(tokens)
492 code_node = ParseCodeNode(tokens)
494 inner_else_node = ParseElseNode(tokens)
498 return ParseElseNode(tokens)
503 def ParseAtomicCodeNode(tokens):
505 return PopToken(tokens, token_typ
[all...]
/gem5/ext/ply/example/GardenSnake/
H A DGardenSnake.py47 tokens = ( variable
125 # Don't generate newline tokens when inside of parenthesis, eg
155 # WS will only occur before any other tokens on a line.
157 # I have three filters. One tags tokens by adding two attributes.
172 def track_tokens_filter(lexer, tokens):
176 for token in tokens:
224 def indentation_filter(tokens):
230 for token in tokens:
247 # WS tokens are never passed to the parser
303 tokens
[all...]
/gem5/ext/ply/example/yply/
H A Dyparse.py7 tokens = ylex.tokens variable
23 print "tokens = ", repr(tokenlist)
H A Dylex.py11 tokens = ( variable
/gem5/ext/ply/example/newclasscalc/
H A Dcalc.py28 tokens = () variable in class:Parser
62 tokens = ( variable in class:Calc
/gem5/ext/ply/example/classcalc/
H A Dcalc.py26 tokens = () variable in class:Parser
59 tokens = ( variable in class:Calc
/gem5/ext/ply/example/calc/
H A Dcalc.py14 tokens = ( variable
/gem5/ext/ply/example/calcdebug/
H A Dcalc.py14 tokens = ( variable
/gem5/ext/ply/example/closurecalc/
H A Dcalc.py27 tokens = (
/gem5/ext/ply/example/unicalc/
H A Dcalc.py7 # This example uses unicode strings for tokens, docstrings, and input.
13 tokens = ( variable
/gem5/ext/ply/ply/
H A Dctokens.py10 tokens = [ variable
H A Dlex.py68 # Token class. This class is used to represent the tokens produced.
134 self.lextokens = None # List of valid tokens
548 self.tokens = []
573 # Get the tokens map
575 tokens = self.ldict.get("tokens",None)
576 if not tokens:
581 if not isinstance(tokens,(list, tuple)):
582 self.log.error("tokens must be a list or tuple")
586 if not tokens
[all...]
H A Dyacc.py1399 # Look for literal tokens
1579 # Find all symbols that were used the grammar, but not defined as tokens or
2759 # start symbol, error function, tokens, precedence list, action functions,
2767 self.tokens = None
2807 if self.tokens:
2808 sig.update(" ".join(self.tokens).encode('latin-1'))
2888 # Get the tokens map
2890 tokens = self.pdict.get("tokens",None)
2891 if not tokens
[all...]
/gem5/ext/ply/example/optcalc/
H A Dcalc.py14 tokens = ( variable
/gem5/ext/ply/example/ansic/
H A Dclex.py20 tokens = reserved + ( variable
H A Dcparse.py12 tokens = clex.tokens variable
/gem5/ext/ply/example/BASIC/
H A Dbasparse.py7 tokens = basiclex.tokens variable
/gem5/src/mem/slicc/
H A Dparser.py130 tokens = [ 'EQ', 'NE', 'LT', 'GT', 'LE', 'GE', variable in class:SLICC
138 tokens += reserved.values()
/gem5/src/arch/
H A Dmicro_asm.py185 tokens = reserved + ( variable
292 # Basic regular expressions to pick out simple tokens

Completed in 46 milliseconds

12345